<table>
  <tr>
		<th>Résa ID</th>
    <th>Client ID</th>
    <th>Date arrivee</th>
    <th>Date depart</th>
    <th>Nombre personne</th>
		<th>Chambre ID</th>
  </tr>

<% for reservation in reservation %>
  <tr>
		<td><%=h reservation.id %></td>
    <td><%=h reservation.client_id %></td>
    <td><%=h reservation.date_arrivee %></td>
    <td><%=h reservation.date_depart %></td>
    <td><%=h reservation.nombre_personne %></td>
		<td><%=h reservation.chambre_id %></td>
    <td><%= link_to 'Show', reservation %></td>
    <td><%= link_to 'Edit', edit_reservation_path(reservation) %></td>
    <td><%= link_to 'Destroy', reservation, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
<br />


